package com.jiawa.train.business.feign;

import com.jiawa.train.common.req.MemberTicketReq;
import com.jiawa.train.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

//@FeignClient(name = "member" , url = "http://127.0.0.1:8001")
@FeignClient("member")
public interface MemberFeign {

    @PostMapping("/member/feign/ticket/save")
    Result save(@RequestBody MemberTicketReq req);
}
